package com.ruoyi.energize.domain;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 门店日销售报表对象 yancao_store_daily_sales_report
 *
 * @author ruoyi
 * @date 2023-05-26
 */
public class YancaoStoreDailySalesReport extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键自增ID */
    private Long id;

    /** 日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date date;

    /** 星期 */
    @Excel(name = "星期")
    private String week;

    /** 门店id */
    @Excel(name = "门店id")
    private Integer storeId;

    /** 门店名称 */
    @Excel(name = "门店名称")
    private String storeName;

    /** 客户订单总数量 */
    @Excel(name = "客户订单总数量")
    private Integer customerOrderAmount;

    /** 销售总额 */
    @Excel(name = "销售总额")
    private BigDecimal totalSales;

    /** 客户单价 */
    @Excel(name = "客户单价")
    private BigDecimal customerUnitPrice;

    /** 包含烟草客户订单量 */
    @Excel(name = "包含烟草客户订单量")
    private Integer includeCigaretteOrderAmount;

    /** 含烟量销售额占比 */
    @Excel(name = "含烟量销售额占比")
    private BigDecimal includeCigaretteRatio;

    /** 不包含烟草客户订单量 */
    @Excel(name = "不包含烟草客户订单量")
    private Integer notIncludeCigaretteOrderAmount;

    /** 包含烟草销售额 */
    @Excel(name = "包含烟草销售额")
    private BigDecimal includeCigaretteOrderSales;

    /** 包含烟草客单价 */
    @Excel(name = "包含烟草客单价")
    private BigDecimal includeCigaretteUnitPrice;

    /** 不包含烟草销售额 */
    @Excel(name = "不包含烟草销售额")
    private BigDecimal notIncludeCigaretteOrderSales;

    /** 不包含烟草客单价 */
    @Excel(name = "不包含烟草客单价")
    private BigDecimal notIncludeCigaretteUnitPrice;

    /** 烟草销售额 */
    @Excel(name = "烟草销售额")
    private BigDecimal cigaretteSales;

    /** 纯烟草销售额占比 */
    @Excel(name = "纯烟草销售额占比")
    private BigDecimal cigaretteRatio;

    /** 当日进店客流数量 */
    @Excel(name = "当日进店客流数量")
    private Integer intoStoreCustomerNum;

    /** 路过客户数量 */
    @Excel(name = "路过客户数量")
    private Integer passStoreCustomerNum;

    /** 客户购买率（转化率） */
    @Excel(name = "客户购买率", readConverterExp = "转=化率")
    private Double buyCustomerRatio;

    /** 客户进店转化率 */
    @Excel(name = "客户进店转化率")
    private Double intoStoreCustomerRatio;

    public List<Integer> getStoreIdList() {
        return storeIdList;
    }

    public void setStoreIdList(List<Integer> storeIdList) {
        this.storeIdList = storeIdList;
    }

    public List<Integer> storeIdList;

    public List<String> getWeekList() {
        return weekList;
    }

    public void setWeekList(List<String> weekList) {
        this.weekList = weekList;
    }

    public List<String> weekList;

    public String getMonths() {
        return months;
    }

    public void setMonths(String months) {
        this.months = months;
    }

    /** 日期 */
    private String months;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setDate(Date date)
    {
        this.date = date;
    }

    public Date getDate()
    {
        return date;
    }
    public void setWeek(String week)
    {
        this.week = week;
    }

    public String getWeek()
    {
        return week;
    }
    public void setStoreId(Integer storeId)
    {
        this.storeId = storeId;
    }

    public Integer getStoreId()
    {
        return storeId;
    }
    public void setStoreName(String storeName)
    {
        this.storeName = storeName;
    }

    public String getStoreName()
    {
        return storeName;
    }
    public void setCustomerOrderAmount(Integer customerOrderAmount)
    {
        this.customerOrderAmount = customerOrderAmount;
    }

    public Integer getCustomerOrderAmount()
    {
        return customerOrderAmount;
    }
    public void setTotalSales(BigDecimal totalSales)
    {
        this.totalSales = totalSales;
    }

    public BigDecimal getTotalSales()
    {
        return totalSales;
    }
    public void setCustomerUnitPrice(BigDecimal customerUnitPrice)
    {
        this.customerUnitPrice = customerUnitPrice;
    }

    public BigDecimal getCustomerUnitPrice()
    {
        return customerUnitPrice;
    }
    public void setIncludeCigaretteOrderAmount(Integer includeCigaretteOrderAmount)
    {
        this.includeCigaretteOrderAmount = includeCigaretteOrderAmount;
    }

    public Integer getIncludeCigaretteOrderAmount()
    {
        return includeCigaretteOrderAmount;
    }
    public void setIncludeCigaretteRatio(BigDecimal includeCigaretteRatio)
    {
        this.includeCigaretteRatio = includeCigaretteRatio;
    }

    public BigDecimal getIncludeCigaretteRatio()
    {
        return includeCigaretteRatio;
    }
    public void setNotIncludeCigaretteOrderAmount(Integer notIncludeCigaretteOrderAmount)
    {
        this.notIncludeCigaretteOrderAmount = notIncludeCigaretteOrderAmount;
    }

    public Integer getNotIncludeCigaretteOrderAmount()
    {
        return notIncludeCigaretteOrderAmount;
    }
    public void setIncludeCigaretteOrderSales(BigDecimal includeCigaretteOrderSales)
    {
        this.includeCigaretteOrderSales = includeCigaretteOrderSales;
    }

    public BigDecimal getIncludeCigaretteOrderSales()
    {
        return includeCigaretteOrderSales;
    }
    public void setIncludeCigaretteUnitPrice(BigDecimal includeCigaretteUnitPrice)
    {
        this.includeCigaretteUnitPrice = includeCigaretteUnitPrice;
    }

    public BigDecimal getIncludeCigaretteUnitPrice()
    {
        return includeCigaretteUnitPrice;
    }
    public void setNotIncludeCigaretteOrderSales(BigDecimal notIncludeCigaretteOrderSales)
    {
        this.notIncludeCigaretteOrderSales = notIncludeCigaretteOrderSales;
    }

    public BigDecimal getNotIncludeCigaretteOrderSales()
    {
        return notIncludeCigaretteOrderSales;
    }
    public void setNotIncludeCigaretteUnitPrice(BigDecimal notIncludeCigaretteUnitPrice)
    {
        this.notIncludeCigaretteUnitPrice = notIncludeCigaretteUnitPrice;
    }

    public BigDecimal getNotIncludeCigaretteUnitPrice()
    {
        return notIncludeCigaretteUnitPrice;
    }
    public void setCigaretteSales(BigDecimal cigaretteSales)
    {
        this.cigaretteSales = cigaretteSales;
    }

    public BigDecimal getCigaretteSales()
    {
        return cigaretteSales;
    }
    public void setCigaretteRatio(BigDecimal cigaretteRatio)
    {
        this.cigaretteRatio = cigaretteRatio;
    }

    public BigDecimal getCigaretteRatio()
    {
        return cigaretteRatio;
    }
    public void setIntoStoreCustomerNum(Integer intoStoreCustomerNum)
    {
        this.intoStoreCustomerNum = intoStoreCustomerNum;
    }

    public Integer getIntoStoreCustomerNum()
    {
        return intoStoreCustomerNum;
    }
    public void setPassStoreCustomerNum(Integer passStoreCustomerNum)
    {
        this.passStoreCustomerNum = passStoreCustomerNum;
    }

    public Integer getPassStoreCustomerNum()
    {
        return passStoreCustomerNum;
    }
    public void setBuyCustomerRatio(Double buyCustomerRatio)
    {
        this.buyCustomerRatio = buyCustomerRatio;
    }

    public Double getBuyCustomerRatio()
    {
        return buyCustomerRatio;
    }
    public void setIntoStoreCustomerRatio(Double intoStoreCustomerRatio)
    {
        this.intoStoreCustomerRatio = intoStoreCustomerRatio;
    }

    public Double getIntoStoreCustomerRatio()
    {
        return intoStoreCustomerRatio;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("date", getDate())
                .append("week", getWeek())
                .append("storeId", getStoreId())
                .append("storeName", getStoreName())
                .append("customerOrderAmount", getCustomerOrderAmount())
                .append("totalSales", getTotalSales())
                .append("customerUnitPrice", getCustomerUnitPrice())
                .append("includeCigaretteOrderAmount", getIncludeCigaretteOrderAmount())
                .append("includeCigaretteRatio", getIncludeCigaretteRatio())
                .append("notIncludeCigaretteOrderAmount", getNotIncludeCigaretteOrderAmount())
                .append("includeCigaretteOrderSales", getIncludeCigaretteOrderSales())
                .append("includeCigaretteUnitPrice", getIncludeCigaretteUnitPrice())
                .append("notIncludeCigaretteOrderSales", getNotIncludeCigaretteOrderSales())
                .append("notIncludeCigaretteUnitPrice", getNotIncludeCigaretteUnitPrice())
                .append("intoStoreCustomerNum", getIntoStoreCustomerNum())
                .append("passStoreCustomerNum", getPassStoreCustomerNum())
                .append("buyCustomerRatio", getBuyCustomerRatio())
                .append("intoStoreCustomerRatio", getIntoStoreCustomerRatio())
                .append("createTime", getCreateTime())
                .append("updateTime", getUpdateTime())
                .toString();
    }
}
